package com.neu.entity;


import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈鲲鹏
 * @since 2025-02-08
 */
@Data
//@EqualsAndHashCode(callSuper = false)
//@Accessors(chain = true)
//@TableName("disease")
@AllArgsConstructor
@NoArgsConstructor
public class Disease implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    @ApiModelProperty(value = "常见病名")
    @Column(name = "name")
    private String name;

    @ApiModelProperty(value = "图片")
    @Column(name = "img")
    private String img;

    @ApiModelProperty(value = "疾病详情")
    @Column(name = "content")
    private String content;

    @ApiModelProperty(value = "易得人群")
    @Column(name = "people")
    private String people;

    @ApiModelProperty(value = "常见症状")
    @Column(name = "symptom")
    private String symptom;

    @ApiModelProperty(value = "病因")
    @Column(name = "reason")
    private String reason;


}
